package com.kx.center.mappers;

import java.util.List;

import com.kx.center.entity.DailyCounting;
import com.kx.center.entity.DailyCountingDetail;
import com.kx.center.entity.query.QueryDailyCounting;

public interface CountingMapper {

	public void insertDailyCounting(DailyCounting entity);
	public void insertDailyCountingDetail(DailyCountingDetail entity);
	
	public void updateDailyCounting(DailyCounting entity);
	public void updateDailyCountingDetail(DailyCountingDetail entity);
	
	public DailyCounting findDailyCountingById(Integer id);
	public DailyCounting findDailyCountingBySN(String sn);
	
	public List<DailyCounting> findDailyCountingByStoreId(Integer storeId);
	public List<DailyCountingDetail> findDailyCountingDetailByDCId(Integer dcId);
	
	public List<DailyCounting> queryDailyCounting(QueryDailyCounting query);
	public Integer queryDailyCountingCount(QueryDailyCounting query);
	
}
